
<script>
import { ref, h } from 'vue'
export default {
  setup () {
    const root = ref(null)

    return () =>
      h('div', {
        ref: root
      }, ['Hello'])

    // with JSX
    // return () => <div ref={root} />
  }

}
</script>

<style>

</style>
